package com.zs.members.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @program: clms-nine
 * @description: 会员常用地址
 * @author: 张硕
 * @create: 2021-07-23 18:40
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_common_address")
@ApiModel(value = "会员常用地址",description = "会员管理表")
public class Address {
    @ApiModelProperty(value = "地址ID")
    @TableId(value = "id", type= IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "会员ID")
    @TableField("member_id")
    private Integer memberId;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "添加时间")
    @TableField("addtime")
    private String addtime;
}
